class AssertUtil:

    @classmethod
    def ihrm_assert(cls,login_resp,status_code,success,code,message):
        assert status_code == login_resp.status_code
        assert success == login_resp.json().get('success')
        assert code == login_resp.json().get('code')
        assert message == login_resp.json().get('message')

    @classmethod
    def tpshop_assert(cls,login_resp,status_code,status,msg):
        assert status_code == login_resp.status_code
        assert status == login_resp.json().get('status')
        assert msg == login_resp.json().get('msg')

    @classmethod
    def register_assert(cls,login_resp,status_code,status,msg):
        assert status_code == login_resp.status_code
        assert status == login_resp.json().get('status')
        assert msg == login_resp.json().get('msg')




